package com.yf.exam.modules.trainingarchives.studentassess.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value="StudentAssessDTO对象", description="学员考试情况表")
public class StudentAssessDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "考试情况ID")
    private String id;

    @ApiModelProperty(value = "外键: 学员信息")
    @NotNull(message = "学员信息id不能为空！")
    private String studentId;

    @ApiModelProperty(value = "评分")
    private Integer examScore;

    @ApiModelProperty(value = "出勤情况 (15分)")
    @NotNull(message = "出勤情况不能为空！")
    private Integer attendanceScore;

    @ApiModelProperty(value = "纪律执行 (15分)")
    @NotNull(message = "纪律执行不能为空！")
    private Integer disciplineScore;

    @ApiModelProperty(value = "学习表现 (20分)")
    @NotNull(message = "学习表现不能为空！")
    private Integer performanceScore;

    @ApiModelProperty(value = "实训表现 (20分)")
    @NotNull(message = "实训表现不能为空！")
    private Integer practicalScore;

    @ApiModelProperty(value = "知识掌握 (30分)")
    @NotNull(message = "知识掌握不能为空！")
    private Integer knowledgeScore;
}
